







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new Bag. The Equals and GetHashCode methods of the passed comparison object
will be used to compare items in this bag for equality.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public Bag( IEqualityComparer<T> equalityComparer ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ equalityComparer As IEqualityComparer(Of T) _ ) |
Visual C++ |
---|
public: Bag ( IEqualityComparer<T>^ equalityComparer ) |
Parameters
- equalityComparer
- IEqualityComparer<(Of <T>)>
An instance of IEqualityComparer<T> that will be used to compare items.
See Also
Bag<(Of <T>)> Class
Wintellect.PowerCollections Namespace